#pragma once

#include <QWidget>


class TransparentScreen : public QWidget
{
	Q_OBJECT

public:
	TransparentScreen(QWidget *parent = Q_NULLPTR);
	~TransparentScreen();
signals:
	void handle3dZoom(QRectF rect);
protected:
protected:
	void mouseMoveEvent(QMouseEvent* event);
	//void resizeEvent(QResizeEvent* event);
	void mousePressEvent(QMouseEvent* event);
	void mouseReleaseEvent(QMouseEvent* event);
	void mouseDoubleClickEvent(QMouseEvent* event);
	void paintEvent(QPaintEvent* event);
	virtual void enterEvent(QEvent* e);
	virtual void leaveEvent(QEvent* e);
private:
	int lineWidth;
	bool mouseDown;
	QPoint startPos;
	QPoint endPos;
};
